package com.sddnytsh.body_buildingsystem.topic

data class Comment(
    val id: Long,
    val postId: Long,
    val userId: Long,
    val content: String,
    val likeCount: Int,
    val isLiked: Boolean = false,
    val createdAt: String,
    val author: String? = null,  // 从后端获取的用户名
    val authorAvatar: String? = null,  // 作者头像URL
    val parentId: Long? = null,  // 父评论ID，用于嵌套回复
    val rootId: Long? = null,    // 根评论ID，用于嵌套回复
    val isDeleted: Boolean = false  // 是否已删除
)
